<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>



    table{
        border-collapse: collapse ;
        border-right: unset;
        border-top: unset;
    }
</style>
<body>

</body>



<script>
    document.write("<table border='1px' cellspacing='0px' cellpadding='5px'> ");

    for (let i = 1; i <= 9; i++) {
        document.write("<tr>")

        for (let j = 1; j <=i; j++) {
            document.write("<td>")
            let str=j+"x"+i+"="+(i*j);
            document.write(str);
            document.write("</td>")

        }
    document.write("</tr>");

    }






    document.write("</table>");




</script>
</html>